package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Author chestnuts tlx
 * @create 2021/6/29 12:07
 */
public class InsterValueParam {

    @ApiModelProperty(value = "规格值id",example = "1")
    @NotNull(message = "规格值id不能为空")
    @Min(value = 0, message = "输入id 有误")
    private Integer specId;
    /**
     * 参数字段值
     */
    @ApiModelProperty(value = "规格值字段名",required = true)
    @NotNull(message = "规格值字段名空")
    @Size(min = 0, message = "命名有误")
    private String specValue;

    private String createNo;
}
